package com.ftf.tp.user.domain.data.repository;

import com.ftf.tp.user.domain.data.dos.TpUserDO;

import java.util.List;

/**
 * @author tanghao
 * @date 2022/8/1
 */
public interface UserRepository {
    TpUserDO getByPassportId(Long passportId);

    TpUserDO getUserInfo();

    void insert(TpUserDO userDO);

    TpUserDO byId(Long authorId);

    List<Long> selectFollowerList(Long articleAuthorId);

    void update(TpUserDO tpUserDO);
}
